<?php
/**
 * CreateTime: 2022/8/3 11:14
 */

namespace App\Http\Requests\NewContract;

use App\Http\Requests\BaseRequests;

class AddFulfillmentProofPost extends BaseRequests
{

    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'time' => "required",
            'number' => "required",
            'money' => "required",
        ];
    }

    public function messages()
    {
        return [
            'time.required' => "时间不能为空",
            'number.required' => "数量不能为空",
            'money.required' => "金额不能为空",


        ];
    }
}